package com.gientech.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ConsulProducerController {
    public ConsulProducerController() {
    }

    @GetMapping({"/producerA"})
    public String register01() {
        return "服务注册：我是producerA……";
    }

    @GetMapping({"/pro-test"})
    public String test() {
        return "provider-test";
    }
}
